<?php
namespace app\user\model;
use think\Model;
use think\model\concern\SoftDelete;

class CustomerOrderClassify extends Model
{
    public static function get_lists()
    {
        $list = self::order('id asc')->select();
        return $list;
    }
    //统计数量
    public function countNum()
    {
        return $this->hasMany(CustomerOrder::class,'classify','id');
    }
    
    
}